* {
    padding: 0;
    margin: 0;
}

body,html {
    height: 100%;
}

.main {
    display: flex;
    min-height: 100vh;
    /* min-width: 100vw; */
    overflow: hidden;
}

.boxStyle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: white;
    font-size: 40px;
    transition: .7s ease-in-out;
    flex-grow: 1;
}

.box1{
    background: url('1.jpg') no-repeat center;

}

.box2{
    background: url('2.jpg') no-repeat center;

}

.box3{
    background: url('3.jpg') no-repeat center;

}

.box4{
    background: url('4.jpg') no-repeat center;

}

.box5{
    background: url('1.jpg') no-repeat center;

}

.open {
    flex-grow: 10;
    color: red;
}

/* .big {
    transition: .5s;
} */

.big p:nth-of-type(1) {
    transform: translateY(-1000px);
    transition: 1s;
    
}

.big p:nth-of-type(3) {
    transform: translateY(1000px);
    transition: 1s;
}

.show p:nth-of-type(odd) {
    transition: .5s;
    transform: translateY(0);
}